//package com.java.architect;
//
//import com.java.architect.entity.InventoryId;
//import com.java.architect.manager.context.ContextManager;
//import com.java.architect.operator.impl.ItemManagerOperator;
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//
//import javax.annotation.PostConstruct;
//import javax.annotation.Resource;
//
///**
// * @author Java架构师之旅
// * @date 2022年05月28日 15:02
// */
//@SpringBootApplication
//public class DataManagerApplication {
//    public static void main(String[] args) {
//        SpringApplication.run(DataManagerApplication.class, args);
//    }
//
//    @Resource
//    ItemManagerOperator itemManagerMapper;
//    @Resource
//    ContextManager contextManager;
//
////    @PostConstruct
////    public void getData(){
////        //System.out.println(itemManagerMapper.getTotal(new InventoryId(1L)));
////        System.out.println(contextManager.getContextInfo(88L));
////    }
////
////    @PostConstruct
////    public void evict(){
////        contextManager.evict(88L);
////    }
//
//
//    @PostConstruct
//    public void getTotal() {
//        System.out.println(itemManagerMapper.getTotal(new InventoryId(1L)));
//    }
//
//
//}
